<script setup>
import {inject} from 'vue'

const {category, categoryListActive} = inject('category')
</script>

<template>
  <van-sidebar v-model="categoryListActive">
    <van-sidebar-item v-for="cate in category" :title="cate.name" />
  </van-sidebar>
</template>

<style scoped lang="scss">

</style>